Reference for Wiring version 1.0 Build 0100+ If you have a previous version, use the reference included with your software. If see any errors or have any comments, let us know.
Name | Constant |
||
---|---|---|---|
Examples | // ... ConstantString big_string = Constant( "Stately, plump Buck Mulligan came from the stairhead, bearing a bowl ofn" "lather on which a mirror and a razor lay crossed. A yellow dressinggown,n" "ungirdled, was sustained gently behind him on the mild morning air. Hen" "held the bowl aloft and intoned:n" "--_Introibo ad altare Dei_.n" "Halted, he peered down the dark winding stairs and called out coarsely:n" "--Come up, Kinch! Come up, you fearful jesuit!n" "Solemnly he came forward and mounted the round gunrest. He faced aboutn" "and blessed gravely thrice the tower, the surrounding land and then" "awaking mountains. Then, catching sight of Stephen Dedalus, he bentn" "towards him and made rapid crosses in the air, gurgling in his throatn" "and shaking his head. Stephen Dedalus, displeased and sleepy, leanedn" "his arms on the top of the staircase and looked coldly at the shakingn" "gurgling face that blessed him, equine in its length, and at the lightn" "untonsured hair, grained and hued like pale oak.n"); Serial.println(Constant("The big string is, quote:")); Serial.println(big_string); // ... |
||
Description | Constant is the constructor for the Constant data type for read-only Strings. These data types are not located in RAM memory saving memory space for other data. Use these data types to store constant data (data which will not change during the whole life of the program). | ||
Syntax | ConstantString var = Constant("your constant string"); Constant("another constant string"); |
||
Parameters |
|
||
Usage | Application | ||
Related | Constant ConstantString ByteTable CharTable UCharTable IntTable UIntTable LongTable ULongTable FloatTable DoubleTable |